package com.zhz.mall.portal.modules.pms.mapper;

import com.zhz.mall.portal.dto.HomeMenusDTO;
import com.zhz.mall.portal.modules.pms.model.PmsProductCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 产品分类 Mapper 接口
 * </p>
 *
 * @author zhouhengzhe
 * @since 2023-02-04
 */
public interface PmsProductCategoryMapper extends BaseMapper<PmsProductCategory> {

    /**
     * 通过分类ID获取产品
     *
     * @return
     */
    List<HomeMenusDTO> getProductWithCategory();
}
